package com.sai.jsai.common.starter.mybatisplus.component;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author jisai
 * @version 0.0.1
 * @Description TODO
 * @createTime 2024/11/02
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE})
public @interface Query {

    String tableAlias() default "";

    String fieldName() default "";

    String expression() default "";

}
